#include using namespace std; int main() { int x = 8; const int COUNT = 10; //size (length) of the array goes in the [] //whole number, literal or constant int A[COUNT] = {0}; // int A[COUNT] = {1}; // int A[COUNT] = {1,323,2,43,453,23,234,23,23,234}; //A is a pointer to 100 integers //pointer - variable that holds an address // out of bounds error - using an index that is not yours //indexes of A are 0-99 for(int i = 0; i < COUNT + 5;i++) { cin >> A[i]; } for(int j = 0; j < COUNT; j++) { cout << A[j] << endl; } return 1; }